package com.study.springbootsecurity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.springbootsecurity.entity.SysMenu;
import com.study.springbootsecurity.entity.business.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: TODO
 * @author: Huangjianyun
 * @date: 2025-06-05 17:49
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<Permission> findPermissionByRoleIds(@Param("roleIds") List<Long> roleIds);
}